package com.ruoyi.equipment.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 校验周期维护对象 equipment_check_period
 * 
 * @author ruoyi
 * @date 2022-12-14
 */
public class EquipmentCheckPeriod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Long equipmentTypeId;

//    设备类别名
    private String equipmentType;

//    大类名字
    private String equipmentCategory;

    /** 周期 */
    @Excel(name = "周期")
    private Long periodCount;

    /** 周期单位 */
    @Excel(name = "周期单位")
    private String periodUnit;

    /** 提前预警天数 */
    @Excel(name = "提前预警天数")
    private Long advanceWarningDays;

    /** $table.subTable.functionName信息 */
    private List<EquipmentType> equipmentTypeList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentTypeId(Long equipmentTypeId) 
    {
        this.equipmentTypeId = equipmentTypeId;
    }

    public Long getEquipmentTypeId() 
    {
        return equipmentTypeId;
    }
    public void setPeriodCount(Long periodCount) 
    {
        this.periodCount = periodCount;
    }

    public Long getPeriodCount() 
    {
        return periodCount;
    }
    public void setPeriodUnit(String periodUnit) 
    {
        this.periodUnit = periodUnit;
    }

    public String getPeriodUnit() 
    {
        return periodUnit;
    }
    public void setAdvanceWarningDays(Long advanceWarningDays) 
    {
        this.advanceWarningDays = advanceWarningDays;
    }

    public Long getAdvanceWarningDays() 
    {
        return advanceWarningDays;
    }

    public List<EquipmentType> getEquipmentTypeList()
    {
        return equipmentTypeList;
    }

    public void setEquipmentTypeList(List<EquipmentType> equipmentTypeList)
    {
        this.equipmentTypeList = equipmentTypeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentTypeId", getEquipmentTypeId())
            .append("periodCount", getPeriodCount())
            .append("periodUnit", getPeriodUnit())
            .append("advanceWarningDays", getAdvanceWarningDays())
            .append("equipmentTypeList", getEquipmentTypeList())
            .toString();
    }

    public String getEquipmentType() {
        return equipmentType;
    }

    public void setEquipmentType(String equipmentType) {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentCategory() {
        return equipmentCategory;
    }

    public void setEquipmentCategory(String equipmentCategory) {
        this.equipmentCategory = equipmentCategory;
    }
}
